import { Injectable } from '@angular/core';
import { HttpClient } from '../../../providers/httpClient';
import { Config } from '../../../providers/config';
import { Storage } from '@ionic/storage';
import { Common } from '../../../providers/common';

@Injectable()
export class MarketingIndexService {
	constructor(
		public httpClient: HttpClient,
		public config: Config,
    public storage: Storage,
    public common: Common
		) { }

  getUSBHomepageAuthority() {
	  let postBody = {
	    "module": "OAServer",
      "method": "getUSBHomepageAuthority",
      "params": {

      }
    };

    return this.httpClient.post(postBody, {
      isShowLoading: true
    })
  }
}
